<div id="bodyPan">
	
<center><%= link_to 'New strip', new_webcomic_strip_url(@webcomic) %></center>

<table width="800px">
<% i = 0 %>
<% for strip in @strips %>
  <% if (i % 2 == 0) %>
  <tr>
  <% end %>
	<td width="250px">
	# <%= link_to image_tag(strip.public_filename()), webcomic_strip_path(@webcomic, strip), :class => 'strip_thumb' %>
	</td>
	<td>
	<table>
		<tr><td><span>Title: <%=h strip.title %></span></td></tr>
		<tr><td><span>Created: <%=h strip.created_at.strftime("%m-%d-%Y") %></span></td></tr>
    	<tr><td></td></tr>
    	<tr><td><%= link_to 'Edit', edit_webcomic_strip_path(@webcomic,strip) %></td></tr>
		<!-- <tr><td><span><%=h strip.strip_number %></span></td></tr> -->
    	<tr><td>
			<%= link_to 'Destroy', webcomic_strip_path(@webcomic,strip), :confirm => 'Are you sure?', :method => :delete %>
		</td></tr>
	</table>
	</td>
  <% if ((i % 2) == 1) %>
  </tr>
   <% end %>
  <% i = i +1 %>
<% end %>
</table>

<br />
<%= link_to 'Back', :controller => "webcomic", :action => "manage" %>
<%= link_to 'Go to ' + @webcomic.title, webcomic_path(@webcomic) %>

</div>